package com.qdu.entity;

import java.util.List;

/**
 * Movie实体类，存储一个电影的所有信息
 *
 * @author Anna
 */
public class Movie {

    private String movieId; //电影编号
    private String mchineseName; //电影中文名
    private String moriginalName; //电影原名
    private float mrating; //电影评分
    private String mtype; //电影类型
    private String mreleaseDate; //电影上映日期
    private String mlanguage; //电影语言
    private String mcountry; //电影制作国家
    private int mlength; //电影时常
    private String mdigest; //电影剧情介绍
    private String mcover; //电影封面图片
    private List<Worker> workerList; //电影工作人员列表-包括导演和演员

    public Movie() {
    }

    public Movie(String movieId, String mchineseName, float mrating, String mcover) {
        this.movieId = movieId;
        this.mchineseName = mchineseName;
        this.mrating = mrating;
        this.mcover = mcover;
    }

    public Movie(String movieId, String mchineseName, float mrating, String mdigest, String mcover) {
        this.movieId = movieId;
        this.mchineseName = mchineseName;
        this.mrating = mrating;
        this.mdigest = mdigest;
        this.mcover = mcover;
    }

    public Movie(String movieId, String mchineseName, String moriginalName, float mrating, String mtype, String mreleaseDate, String mlanguage, String mcountry, int mlength, String mdigest, String mcover, List<Worker> workerList) {
        this.movieId = movieId;
        this.mchineseName = mchineseName;
        this.moriginalName = moriginalName;
        this.mrating = mrating;
        this.mtype = mtype;
        this.mreleaseDate = mreleaseDate;
        this.mlanguage = mlanguage;
        this.mcountry = mcountry;
        this.mlength = mlength;
        this.mdigest = mdigest;
        this.mcover = mcover;
        this.workerList = workerList;
    }

    public String getMovieId() {
        return movieId;
    }

    public void setMovieId(String movieId) {
        this.movieId = movieId;
    }

    public String getMchineseName() {
        return mchineseName;
    }

    public void setMchineseName(String mchineseName) {
        this.mchineseName = mchineseName;
    }

    public String getMoriginalName() {
        return moriginalName;
    }

    public void setMoriginalName(String moriginalName) {
        this.moriginalName = moriginalName;
    }

    public float getMrating() {
        return mrating;
    }

    public void setMrating(float mrating) {
        this.mrating = mrating;
    }

    public String getMtype() {
        return mtype;
    }

    public void setMtype(String mtype) {
        this.mtype = mtype;
    }

    public String getMreleaseDate() {
        return mreleaseDate;
    }

    public void setMreleaseDate(String mreleaseDate) {
        this.mreleaseDate = mreleaseDate;
    }

    public String getMlanguage() {
        return mlanguage;
    }

    public void setMlanguage(String mlanguage) {
        this.mlanguage = mlanguage;
    }

    public String getMcountry() {
        return mcountry;
    }

    public void setMcountry(String mcountry) {
        this.mcountry = mcountry;
    }

    public int getMlength() {
        return mlength;
    }

    public void setMlength(int mlength) {
        this.mlength = mlength;
    }

    public String getMdigest() {
        return mdigest;
    }

    public void setMdigest(String mdigest) {
        this.mdigest = mdigest;
    }

    public String getMcover() {
        return mcover;
    }

    public void setMcover(String mcover) {
        this.mcover = mcover;
    }

    public List<Worker> getWorkerList() {
        return workerList;
    }

    public void setWorkerList(List<Worker> workerList) {
        this.workerList = workerList;
    }
}
